export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
    {
      "type": "input",
      "label": "名称",
      "prop": "name",
      "span": 12
    },{
      "type": "input",
      "label": "地址",
      "prop": "url",
      "span": 12
    },  {
      "type": "input",
      "label": "说明",
      "prop": "remark",
      "span": 12,
    },	  {
      "type": "input",
      "label": "排序",
      "prop": "sort",
      "span": 12
    },
    {
      label: '封面',
      prop: 'banner',
      hide: true,
      loadText: '附件上传中，请稍等',
      type: 'upload',
      width: 140,
      listType:'picture-img',
      accept: ["image/png","image/jpeg","image/jpg"],
      tip: '只能上传jpg，png图片不超过20MB',
      fileSize: 20480,
      propsHttp: {
          res: 'data'
      },
      canvasOption: {
        text: ' ',
        ratio: 0.1
      },
      action: '/admin/sys-file/upload'
    }]
}
